package com.axxy.command;

import com.axxy.command.entity.Light;

/**
 * @author 一缕茜阳
 * @date 2021/7/29
 */
public class LightOffCommand implements Command{

    private Light light;

    public LightOffCommand(Light light) {
        this.light = light;
    }

    @Override
    public void execute() {
        light.off();
    }
}
